import React from "react";
import styles from "./Index.module.css";
import Mynao from "../../components/Mynao/Index";
import { List } from "antd-mobile";
import { useNavigate } from "react-router-dom";
function Index() {
  const nav = useNavigate();
  return (
    <div className={styles.zongs}>
      <div className={styles.nav}>
        <div className={styles.nav1}>
          <Mynao title="设置" />

          <List>
            <List.Item onClick={()=>nav('/zhang')}>账号管理</List.Item>
            <List.Item onClick={() => {}}>消息设置</List.Item>
          </List>
        </div>
      </div>

      <div className={styles.nei}>
        <List>
          <List.Item onClick={() => {}}>
            <div>清除缓存<span style={{color:'gray',marginLeft:'220px'}}>66M</span></div>
            <div style={{color:'gray',fontSize:'12px'}}>包括:缓存历史界面数据、个人授权</div>
          </List.Item>
        </List>
      </div>
    </div>
  );
}

export default Index;
